package com.shop.user.api.model;

import com.shop.common.entity.user.UserBase;

public class UserBaseModel extends UserBase {
    private String verCode;//验证码
    private Integer regType;//注册方式
    private Integer integral;//用户积分
    private Integer balance;//钱包
    private Integer levelId;//级别Id

    public UserBaseModel() {
    }

    public UserBaseModel(UserBase userBase) {
        this.setUserId(userBase.getUserId());
        this.setAccount(userBase.getAccount());
        this.setNickname(userBase.getNickname());
        this.setTruename(userBase.getTruename());
        this.setUserlogo(userBase.getUserlogo());
        this.setPhone(userBase.getPhone());
        this.setBirth(userBase.getBirth());
        this.setSex(userBase.getSex());
        this.setEmail(userBase.getEmail());
        this.setQq(userBase.getQq());
        this.setStatus(userBase.getStatus());
        this.setType(userBase.getType());
        this.setLastLoginTime(userBase.getLastLoginTime());
        this.setCreateTime(userBase.getCreateTime());
    }

    public String getVerCode() {
        return verCode;
    }

    public void setVerCode(String verCode) {
        this.verCode = verCode;
    }

    public Integer getRegType() {
        return regType;
    }

    public void setRegType(Integer regType) {
        this.regType = regType;
    }

    public Integer getIntegral() {
        return integral;
    }

    public void setIntegral(Integer integral) {
        this.integral = integral;
    }

    public Integer getBalance() {
        return balance;
    }

    public void setBalance(Integer balance) {
        this.balance = balance;
    }

    public Integer getLevelId() {
        return levelId;
    }

    public void setLevelId(Integer levelId) {
        this.levelId = levelId;
    }
}
